#include "StdAfx.h"
#include "AbstractControl.h"

CAbstractControl::CAbstractControl(void)
{
}

CAbstractControl::~CAbstractControl(void)
{
}

CAbstractControl::CAbstractControl(CString name,long deviceId)
{
	this->m_sDeviceName = name;
	 m_lDeviceId = deviceId;
}

long CAbstractControl::getDeviceId(){
	return m_lDeviceId;
}
void CAbstractControl::setDeviceId(long deviceId){
	 m_lDeviceId = deviceId;
}
CString CAbstractControl::getDeviceName(){
	return 	this->m_sDeviceName;
}
void CAbstractControl::setDeviceName(CString name){
		this->m_sDeviceName = name;
}

int CAbstractControl::sendCommand(CString cmd)
{
	return 0;
}
CString CAbstractControl::parseCommand()
{
	return NULL;
}
